package nutz.cyx.bean;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;

/**
 * Created by chenyingxi on 2014/5/19.
 */
@Table("user")
public class User implements java.io.Serializable {
    @Id
    @Column("ID")
    private long id;
    @Name
    @Column("USERNAME")
    private String username;
    /*用户名*/
    @Column("PASSWORD")
    private transient String password;

    /*密码*/
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
